package com.lvmama.core.dao;

import com.lvmama.core.bean.Dest;
import com.lvmama.core.bean.DestQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DestDao {
    int countByExample(DestQuery example);

    int deleteByExample(DestQuery example);

    int deleteByPrimaryKey(Integer destId);

    int insert(Dest record);

    int insertSelective(Dest record);

    List<Dest> selectByExample(DestQuery example);

    Dest selectByPrimaryKey(Integer destId);

    int updateByExampleSelective(@Param("record") Dest record, @Param("example") DestQuery example);

    int updateByExample(@Param("record") Dest record, @Param("example") DestQuery example);

    int updateByPrimaryKeySelective(Dest record);

    int updateByPrimaryKey(Dest record);
}